<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-04 16:46:35
 * @LastEditTime: 2022-02-04 16:48:30
 * @LastEditors: CHINAKAIYUAN
 * @Description: 
 */

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert([
            'username' => 'admin',
            'email' => 'sunkaiyuan@namenode.cn',
            'password' => Hash::make('admin'),
            'api_token'=>''
        ]);
       
    }
}
